package jsu.hx.lost.Model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class FindItemDTO {
    private Long id; // 主键1212

    private Date addTime; // 创建时间

    private String itemName; // 物品名称

    private String image; // 图片

    private String itemCategory; // 物品类别

    private String foundLocation; // 捡拾地点
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date foundTime; // 捡拾时间

    private String detailedDescription;//详细描述
    private String locate;
    private String username;
    //姓名
    private String fullName;
    //手机
    private String phone;
}
